import $router from "@/router"
export default function useRegister(){
    // const router=useRouter()
    // console.log(router)
    $router.push({
        path: "/user/register",
        query: {
            wantRegister: true
        }
    }).catch(err => {
        console.log(err)
    })
}